Draft
Conversation
- Remove `ms-python.python` from `extensionDependencies` so the extension can install in VS Code derivatives (e.g. Cursor) whose marketplaces cannot resolve the dependency at install time. - Handle the missing Python extension gracefully at runtime: log a warning on startup and show a user-facing error when SDK discovery is attempted without it. When `ms-python.python` is installed, behavior is unchanged.
Collaborator
Author
|
I initially created this as a potential fix to the issue we see when trying to install the mojo extension using the Cursor extension marketplace. I closed it hoping they'd have a fix in place soon, but potentially this is worth revisiting. |
Collaborator
Author
|
The Python extension seems to come by default in a desktop install of VS Code, so making it a soft-dependency to potentially resolve the Cursor issue made sense, however it's not bundled in our test infrastructure, so can't get through CI. Marked as a draft while I double check to see if the Cursor marketplace issue is resolved or not. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ms-python.pythonfromextensionDependenciesso the extension can install in VS Code derivatives (e.g. Cursor) whose marketplaces cannot resolve the dependency at install time.When
ms-python.pythonis installed, behavior is unchanged.